using System;
using System.Collections.Generic;
using System.Text;
using DAL;
using Models;

namespace BLL
{

    public static partial class LinkInfoManager
    {
        public static bool AddLinkInfo(LinkInfo linkInfo)
        {
            return LinkInfoService.AddLinkInfo(linkInfo);
        }

        public static bool DeleteLinkInfoByID(int iD)
        {
            return LinkInfoService.DeleteLinkInfoByID(iD);
        }

        public static bool ModifyLinkInfo(LinkInfo linkInfo)
        {
            return LinkInfoService.ModifyLinkInfo(linkInfo);
        }

        public static IList<LinkInfo> GetAllLinkInfos()
        {
            return LinkInfoService.GetAllLinkInfos();
        }

        public static IList<LinkInfo> GetLinkInfosByTypeID(int typeID)
        {
            return LinkInfoService.GetLinkInfosByTypeID(typeID);
        }

        public static LinkInfo GetLinkInfoByID(int iD)
        {
            return LinkInfoService.GetLinkInfoByID(iD);
        }

    }
}
